<extend name="public:base"/>

<block name="main">

    <div class="slide_main fr">
        <h1 class="frame_title mb10">旧邀请有礼</h1>

        <div class="frame_slide" id="rotate">
            <ul class="hd cl">
                <li <if condition="$Request.action eq 'index'">class="first on"<else/>class="first"</if>>
                <a href="{:url('user/promote/index')}">新邀请首页</a>
                </li>
                <li <if condition="$Request.action eq 'friend'">class="on"</if>>
                <a href="{:url('user/promote/friend')}">我的团队</a>
                </li>
                <li <if condition="$Request.action eq 'reward'">class="on"</if>>
                <a href="{:url('user/promote/reward')}">我的奖励</a>
                </li>
            </ul>
        </div>
        <div class="frame_slide_con">
            <div class="uc_promotion">
                <div class="yourFriend half">
                    <ul class="cl">
                        <li>
                            <p class="a666">累计获得推荐奖励（元）</p>
                            <p class="af60 number">{$all_count}</p>
                        </li>
                        <!--<li>-->
                            <!--<p class="a666">本月获得推荐奖励（元）</p>-->
                            <!--<p class="af60 number">{$month_count}</p>-->
                        <!--</li>-->
                    </ul>
                </div>
                <div class="h2Title">推荐奖励详情</div>
                <table border="0" cellspacing="0" cellpadding="0" width="100%" class="tableBlue mt10">
                    <tbody>
                    <tr>
                        <th class="first">奖励日期</th>
                        <th>奖励类型</th>
                        <th>奖励金额(元)</th>
                    </tr>
                    <notempty name="list">
                        <volist name="list" id="v">
                            <tr>
                                <td class="first" width="30%">{$v.add_time}</td>
                                <td width="45%">{$v.type_name}</td>
                                <td width="25%">{$v.reward_amount}</td>
                            </tr>
                        </volist>
                        <else/>
                        <td colspan="4" class="text-center">暂无奖励</td>
                    </notempty>
                    </tbody>
                </table>
                <div class="page mt20">
                    {$list->render()}
                </div>
            </div>
        </div>


    </div>

</block>

<block name="js"></block>

